<template>
  <div id="app">
    <router-view></router-view>
    <maintabBar></maintabBar>
    <h2>{{test}}</h2>
  </div>
</template>

<script>

import router from './router/index'
import maintabBar from './components/tabbar/MainTabBar'
import store from './store/index'
import {request} from './request'


export default {
  name: 'App',
  router,
  store,
  data(){
    return {test:''}
  },
  components: {
    maintabBar
  },
  created(){
    request({
      url:'/api/Login/GetInfo',
      params:{}
    }).then(res=>{
     this.test = res
    }).catch(err=>{
      this.test = err
    })
  }
}
</script>

<style>
  @import "./assets/css/base.css";
  
</style> 
